﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

public partial class MobileMasterPage : System.Web.UI.MasterPage
{

    protected void Page_Init(object sender, EventArgs e)
    {
        HtmlLink link = new HtmlLink();

        link.Href = "MobileStyleSheet.css";
        link.Attributes.Add("rel", "stylesheet");
        link.Attributes.Add("type", "text/css");
        Page.Header.Controls.Add(link);

        if (Session["customer"] == null)
            Literal1.Text = "Not logged in.";
        else
        {
            CUSTOMER c = (CUSTOMER)Session["customer"];

            Literal1.Text = "Logged in as " + c.UNAME;
        }
    }


}
